package com.shadow.cloud.test;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name="cloud-provider", contextId = "remoteProviderApi")
public interface ProviderApi {

    @GetMapping("/name")
    String name();
}
